Opera had a richly textured history in eighteenth-century Spain and its empire, though a relatively small number of fully sung operas in Spanish were produced in the period. In the peninsular capitals, Madrid, Barcelona, Valencia, and Cádiz, and in the administrative centers of its colonies, Naples, Palermo, Lima, and Mexico City, operas and musical plays were performed in a variety of situations, public and private, and sponsored by both aristocratic patrons and eager entrepreneurs. The history of opera in this period is intertwined with the history of musical theater, given that opera coexisted with several types of partly sung entertainment (zarzuela, tonadilla escénica, and sainete) and embraced a number of musical styles. The classic Spanish comedia – a three-act, tragicomedic genre that usually included songs in verisimilar situations – was still widely performed in the early 1700s. Indeed, scholars now recognize that its conventions were extremely influential well into the eighteenth century. In part, this influence remained vigorous because the traditional mechanisms for theatrical administration and financing were so well engrained. Public theaters, known as corrales, continued to present spoken theater with almost daily performances for an eager audience, much as they had almost continuously since the opening of the first purpose-built public theaters in Madrid and elsewhere just before 1600.